//
//  UIAlertController+XLAlertView.h
//  XLBaseDemo
//
//  Created by 薛磊 on 2018/4/18.
//  Copyright © 2018年 薛磊. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^CompentBlock)(void);
typedef void(^cancelBlock)(void);


@interface UIAlertController (XLAlertView)
/**
 选择弹窗
 @param message 提示文字
 @param isCancel 是否显示取消按钮
 @param block 确定按钮回调
 @param viewController 显示视图的控制器
 
 */

+(void)xl_showAlertWithMessage:(NSString *)message isCancel:(BOOL)isCancel compentBlock:(CompentBlock)block cancelBlock:(cancelBlock)cancelBlock andViewController:(UIViewController *)viewController;


@end
